home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9206.ARJ / 1006014A < prev    next >
Text File  |  1992-06-02  |  665b  |  26 lines

  1. /* xalloc.h internal header */
  2. #include <stddef.h>
  3. #include <stdlib.h>
  4. #ifndef _YVALS
  5. #include <yvals.h>
  6. #endif
  7.                 /* macros */
  8. #define CELL_OFF        (sizeof (size_t) + _MEMBND & ~_MEMBND)
  9. #define SIZE_BLOCK      512     /* minimum block size */
  10. #define SIZE_CELL       \
  11.         ((sizeof (_Cell) + _MEMBND & ~_MEMBND) - CELL_OFF)
  12.                 /* type definitions */
  13. typedef struct _Cell {
  14.         size_t _Size;
  15.         struct _Cell *_Next;
  16.         } _Cell;
  17. typedef struct {
  18.         _Cell **_Plast;
  19.         _Cell *_Head;
  20.         } _Altab;
  21.                 /* declarations */
  22. void *_Getmem(size_t);
  23. extern _Altab _Aldata;
  24.  
  25.  
  26.